/// signInTotal : 1
/// continuousTotal : 1
/// content : "<p>测试</p>"
/// signRecords : [{"signIn":false,"dayIndex":1,"dayName":"周一"},{"signIn":false,"dayIndex":2,"dayName":"周二"},{"signIn":false,"dayIndex":3,"dayName":"周三"},{"signIn":false,"dayIndex":4,"dayName":"周四"},{"signIn":true,"dayIndex":5,"dayName":"周五"},{"signIn":false,"dayIndex":6,"dayName":"周六"},{"signIn":false,"dayIndex":7,"dayName":"周日"}]
/// beginDate : "\n 2024-10-29"
/// endDate : "2024-10-29"
/// signType : 1

class SignInRecoredBean {
  SignInRecoredBean({
      this.signInTotal, 
      this.continuousTotal, 
      this.content, 
      this.signRecords, 
      this.beginDate, 
      this.endDate, 
      this.signType,});

  SignInRecoredBean.fromJson(dynamic json) {
    signInTotal = json['signInTotal'];
    continuousTotal = json['continuousTotal'];
    content = json['content'];
    if (json['signRecords'] != null) {
      signRecords = [];
      json['signRecords'].forEach((v) {
        signRecords?.add(SignRecords.fromJson(v));
      });
    }
    beginDate = json['beginDate'];
    endDate = json['endDate'];
    signType = json['signType'];
  }
  int? signInTotal;
  int? continuousTotal;
  String? content;
  List<SignRecords>? signRecords;
  String? beginDate;
  String? endDate;
  int? signType;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['signInTotal'] = signInTotal;
    map['continuousTotal'] = continuousTotal;
    map['content'] = content;
    if (signRecords != null) {
      map['signRecords'] = signRecords?.map((v) => v.toJson()).toList();
    }
    map['beginDate'] = beginDate;
    map['endDate'] = endDate;
    map['signType'] = signType;
    return map;
  }

}

/// signIn : false
/// dayIndex : 1
/// dayName : "周一"

class SignRecords {
  SignRecords({
      this.signIn, 
      this.dayIndex, 
      this.signInDate,
      this.dayName,});

  SignRecords.fromJson(dynamic json) {
    signIn = json['signIn'];
    dayIndex = json['dayIndex'];
    dayName = json['dayName'];
    signInDate = json['signInDate'];
  }
  bool? signIn;
  int? dayIndex;
  String? dayName;
  String? signInDate;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['signIn'] = signIn;
    map['dayIndex'] = dayIndex;
    map['dayName'] = dayName;
    map['signInDate'] = signInDate;
    return map;
  }

}